package net.edwardstx.hibernateutils;

import java.io.Serializable;

import org.hibernate.Transaction;


public interface HibernateDAOInterface {
	void closeSession();
	<T extends HibernateDTO> T save(T dto);
	<T extends HibernateDTO> T refresh(T dto);
	Serializable insert(HibernateDTO dto);
	void delete(HibernateDTO dto);
	Transaction beginTransaction();
	void endTransaction();
}
